package com.wx;

import com.xiaomi.miliao.utils.Crypto;
import org.apache.commons.codec.binary.Base64;

/**
 * @author wangxiang
 * @version 1.0
 * @date 2022/11/22 11:38 上午
 */
public class DBFile {

    public static final String K = "nFKo4QenoLP2QxbKz2wepQ==";
    public static final String I = "yoAgbFudWbdEi+HC/IyYrw==";
    private static Crypto crypto = new Crypto(new Base64().decode(K), new Base64().decode(I));

    public static void main(String[] args) throws Exception {
        String username = "dp+dS9D3pgj0Ci+IR9XFUKtG3323VrL+Cd/aMN50p+g=";
        String password = "30RSHXwXpFoUFLruaFfJi3ledWm4FEb4jcTBISXe53LrD5RqENUFkLlohMG7kQMr";
        System.out.println(crypto.aes_cbc_decrypt(username));
        System.out.println(crypto.aes_cbc_decrypt(password));
    }
}
